API Documentation
KeyboardDeviceManager.h
1 // KeyboardDeviceManager.h
3 //
5 
6 namespace nkInputs
7 {
13  class DLL_INPUTS_EXPORT KeyboardDeviceManager final : public nkCommon::SingletonClass<KeyboardDeviceManager>
14  {
15  public :
16 
23  KeyboardDevice* createOrRetrieve (const std::string_view& name) ;
30  KeyboardDevice* get (const std::string_view& name) ;
37  void rename (const std::string_view& currentName, const std::string_view& newName) ;
43  void erase (const std::string_view& name) ;
44  } ;
45 }
nkInputs::KeyboardDeviceManager::erase
void erase(const std::string_view &name)
nkInputs::KeyboardDeviceManager::get
KeyboardDevice * get(const std::string_view &name)
nkInputs::KeyboardDevice
A keyboard device.
Definition: KeyboardDevice.h:12
nkInputs
Encompasses all API of component NilkinsInputs.
Definition: KeyboardDevice.h:7
nkInputs::KeyboardDeviceManager::rename
void rename(const std::string_view &currentName, const std::string_view &newName)
nkInputs::KeyboardDeviceManager::createOrRetrieve
KeyboardDevice * createOrRetrieve(const std::string_view &name)
nkInputs::KeyboardDeviceManager
Manages the keyboard devices available in the component.
Definition: KeyboardDeviceManager.h:14